home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / Apps / DevTools / eText5 / Source / eTAudio.subproj / eTAudio.h next >
Encoding:
Text File  |  1994-10-29  |  1.7 KB  |  48 lines

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //    FILENAME:    eTAudio.h 
  3. //    SUMMARY:    Interface for Audio annotations to eText documents
  4. //    SUPERCLASS:    eTAudio:eTImage:Object
  5. //    INTERFACE:    None
  6. //    PROTOCOLS:    <DocNotification, Annotation, Tool, ASCIISupport, HTMDSupport,
  7. //                LaTeXSupport, eTAudioNotification, InspectableTarget>
  8. //    AUTHOR:        Rohit Khare
  9. //    COPYRIGHT:    (c) 1994 California Institure of Technology, eText Project
  10. ///////////////////////////////////////////////////////////////////////////////
  11. //    DESCRIPTION
  12. //        an eTAudio holds an eTAudioComponent and manages its state.
  13. ///////////////////////////////////////////////////////////////////////////////
  14. //    HISTORY
  15. //    10/30/94:    Modified to support <InspectableTarget>
  16. //    07/24/94:    Rewritten for PR1 release/eTImage
  17. //  07/07/94:    Rewritten as a subclass of ImageAnnotation
  18. //    06/18/94:    HTMDSupport. RK & TRZ.
  19. //    01/24/94:    Created. Derived largely from Version3's temporary Hypertext
  20. //                '93 hack. Renamed as eTAudio and eTAudioUI.
  21. ///////////////////////////////////////////////////////////////////////////////
  22.  
  23. #import "eTextKernel.h"
  24. #import "eTImage.subproj/eTImageUI.h"
  25. #import "eTImage.subproj/eTImage.h"
  26. #import "eTAudioUI.h"
  27.  
  28. @protocol eTAudioNotification
  29. - audioStarted;
  30. - audioPaused;
  31. - audioResumed;
  32. - audioEnded;
  33. @end
  34.  
  35. @interface eTAudio:eTImage <DocNotification, Annotation, Tool, ASCIISupport, HTMDSupport, LaTeXSupport, eTAudioNotification>
  36. {
  37.     id    etAudioComponent;
  38.     id    audioDelegate;
  39. }
  40.  
  41. - sound;
  42. - (BOOL)isAudioMutable;
  43. - (BOOL)isAudioLinked;
  44. - (const char *)audioName;
  45. - setAudioName:(const char *)newName;
  46. - setAudioDelegate:(id <eTAudioNotification>) newDelegate;
  47. - audioDelegate;
  48. @end